package rmi;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * @author: kevin
 * @date: 2017/8/10
 * @description:
 */
public class SayHelloImpl extends UnicastRemoteObject implements ISayHello {


    protected SayHelloImpl() throws RemoteException {
    }

    @Override
    public String sayHello(String name) throws RemoteException {
        return "Hello kevin ->"+name;
    }
}
